Skip to content

Make LSP notebooks event also trigger for those who may be on the control group#19194

Merged
luabud merged 1 commit intomainfrom
telemetryforpylanbexp
May 25, 2022
Merged

Make LSP notebooks event also trigger for those who may be on the control group#19194
luabud merged 1 commit intomainfrom
telemetryforpylanbexp

Conversation

@luabud
Copy link
Copy Markdown
Member

@luabud luabud commented May 25, 2022

To have more sensitive scorecards for the LSP notebooks experiment, I wanted to be able to add a segment for users who meet all the criteria of the experiment (i.e. those who are truly eligible to experience LSP notebooks).

I noticed the telemetry event we had (python_experiments_lsp_notebooks) is only triggering for those who have the pylanceLspNotebooksEnabled setting set to true. So people in the control group who haven't touched this setting won't trigger this event. If I were to use it as segment in the scorecard, it would give me an SRM (sample ratio mismatch), because only people in treatment would trigger it.

With this change, my intent is to make this event also be triggered for those who may be on the control group (so not necessarily experiencing notebooks LSP, but meeting all the criteria for it). A few of these people may have the setting set to true, and therefore be in the control group but experiencing notebooks LSP, which is noisy data, but I expect the # of people who manually flip that setting to be low and therefore am not too concerned about it :)

@luabud luabud requested review from debonte and kimadeline May 25, 2022 18:34
@luabud luabud added the no-changelog No news entry required label May 25, 2022
@debonte debonte added the skip tests Updates to tests unnecessary label May 25, 2022
@luabud luabud merged commit 476ba30 into main May 25, 2022
@luabud luabud deleted the telemetryforpylanbexp branch May 25, 2022 20:07
wesm pushed a commit to posit-dev/positron that referenced this pull request Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog No news entry required skip tests Updates to tests unnecessary

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants